<template>
  <div id="app">
    <el-menu
      :default-active="activeIndex"
      class="el-menu-demo"
      mode="horizontal"
      @select="handleSelect"
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b"
    >
      <el-menu-item index="5">会员登陆</el-menu-item>
      <el-menu-item index="1">拟建项目</el-menu-item>
      <el-menu-item index="2">招标搜索</el-menu-item>
      <el-menu-item index="3">数据导出</el-menu-item>
      <el-menu-item index="4">数据服务</el-menu-item>
    </el-menu>
    <el-main>
      <zbss></zbss>
    </el-main>
  </div>
</template>

<script>
import zbssVue from './components/zbss.vue';
export default {
  components: {
    "zbss": zbssVue
  },
  data() {
    return {
      activeIndex: '2'
    }
  },
  methods: {
    handleSelect(key, keyPath) {
      console.log(key, keyPath)
    }
  },
};
</script>

<style>
#app {
  font-family: Helvetica, sans-serif;
  text-align: center;
}

.el-header {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: left;
    
  }
</style>
